/*
 * @Author: 卡卡 1071780426@qq.com
 * @Date: 2023-09-14 6:31:39
 * @LastEditors: 贺楠 1071780426@qq.com
 * @LastEditTime: 2024-10-09 10:39:23
 * @FilePath: \mould\src\components\BehaViorManage\workYear\regexDetail.js
 * @Description: 这是默认设置,请设置`customMade`, 打开koroFileHeader查看配置 进行设置: https://github.com/OBKoro1/koro1FileHeader/wiki/%E9%85%8D%E7%BD%AE
 */
export default {

    //材料进场台账
    formObj: [
        {
            inputBtn: true, //是input
            inputButton: true,
            label: "工程划分", //字段
            prop: "engineeringDivision", //字段名
            width: 24, //参考el-col
            disabled: false, //是否禁用
            rules: [{
                required: false,
                message: '工程划分不能为空'
            }] //验证
        },
              
        {
            select: true, //是input
            label: "构件类型", //字段
            prop: "componentType", //字段名
            width: 6, //参考el-col
            disabled: false, //是否禁用
            rules: [{
                required: true,
                message: '构件类型不能为空'
            }], //验证
            options: [{
                label:"桩基（钻孔灌注桩）",
                value:"桩基（钻孔灌注桩）"
            },
            {
                label:"承台、大体积混凝土",
                value:"承台、大体积混凝土"
            },
            {
                label:"墩柱、桥台",
                value:"墩柱、桥台"
            },
            {
                label:"盖梁、台帽",
                value:"盖梁、台帽"
            },{
                label:"箱梁预制、T梁预制",
                value:"箱梁预制、T梁预制"
            },{
                label:"现浇梁",
                value:"现浇梁"
            },{
                label:"悬浇梁",
                value:"悬浇梁"
            },{
                label:"支座垫石",
                value:"支座垫石"
            },{
                label:"涵洞总体",
                value:"涵洞总体"
            },{
                label:"涵洞节段",
                value:"涵洞节段"
            },{
                label:"衬砌（明洞）",
                value:"衬砌（明洞）"
            },{
                label:"衬砌",
                value:"衬砌"
            },]
        },
        {
            input: true, //是input
            label: "结构物名称", //字段
            prop: "structureName", //字段名
            width: 6, //参考el-col
            disabled: false, //是否禁用
            rules: [{
                required: true,
                message: '结构物名称不能为空'
            }] //验证
        },
        {
            input: true, //是input
            label: "部位", //字段
            prop: "part", //字段名
            width: 6, //参考el-col
            disabled: false, //是否禁用
            rules: [{
                required: true,
                message: '部位不能为空'
            }] //验证
        },
        {
            input: true, //是input
            label: "构件", //字段
            prop: "component", //字段名
            width: 6, //参考el-col
            disabled: false, //是否禁用
            rules: [{
                required: true,
                message: '构件不能为空'
            }] //验证
        },


    ],
    additionalObj: [      {
        selects: true, //是input
        label: "填报内容是否完整", //字段
        prop: "isIntact", //字段名
        width: 6, //参考el-col
        disabled: false, //是否禁用
        rules: [{
            required: true,
            message: '填报内容是否完整不能为空'
        }], //验证
        options: [{
            label:"是",
            value:"是"
        },
        {
            label:"否",
            value:"否"
        }]
    },{
            label: "附件资料", //字段
            prop: "files", //字段名
            width: 6, //参考el-col
            disabled: false, //是否禁用
            upload: true,
            uploadSelect: true,
            uploadObj: {
                fileType: "2001",
                limit: 8, //上传长度限制
                hideUpload: false, //是否隐藏上传框
            },
            rules: [{
                required: false,
                message: '请上传附件资料'
            }] //验证
        },
        {
            input: true, //是input
            label: "填报人", //字段
            prop: "userName", //字段名
            width: 6, //参考el-col
            disabled: true, //是否禁用
            rules: [{
                required: true,
                message: '填报人不能为空'
            }] //验证
        },
        {
            datePicker: true, //是input
            label: "填报日期", //字段
            prop: "createDates", //字段名
            width: 6, //参考el-col
            disabled: false, //是否禁用
            rules: [{
                required: true,
                message: '请选择填报日期'
            }] //验证
        },
        {
            textarea: true, //是input
            label: "检测说明", //字段
            prop: "note", //字段名
            width: 24, //参考el-col
            disabled: false, //是否禁用
            rules: [{
                required: false,
                message: '检测说明不能为空'
            }] //验证
        },

    ],


}